package com.scott.crm.clazz.bean;


import com.scott.base.BaseBean;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/*
 * 方法描述:
 * @author: 李伟伟
 * @date: 2021/12/2 9:12
 */
@Table(name="crm_clazz_student_teacher_t")
@Data
public class ClazzStudentTeacherBean extends BaseBean {
    // 表主键
    @Id
    @Column(name="id")
    private Integer id;
    // 表字段
    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "clazz_id")
    private Integer clazzId;

    @Column(name = "type")
    private Integer type;

    @Transient
    private Integer studentId;
    @Transient
    private String studentName;
    @Transient
    private String phone;
    @Transient
    private String clazzName;
}
